package com.voltmao.webpro.utils.wechat.core;

import com.voltmao.webpro.utils.wechat.app.CommandController;

import java.util.Map;

/**
 * 微信事件处理类
 */
public interface WechatHandler {

    /**
     * 关注事件
     *
     * @param openId
     * @param requestMap 提交
     */
    String subscribe(String openId, Map<String, Object> requestMap);

    /**
     * 取消关注事件
     *
     * @param openId
     * @param requestMap
     */
    String unsubscribe(String openId, Map<String, Object> requestMap);

//    String san

    /**
     * 监听命令行事件
     *
     * @param commandController
     */
    void addListenerCommand(CommandController commandController);


}